# 折纸
t = 0.1
for i in range(1, 50):
    t *= 2
    print("折完第%d次，这值得厚度为%.2f" % (i, t))

# 麦粒格子
num = 1
total = 0
for i in range(1, 65):
    num *= 2
    total += num
    print("放完%d个格子，一共的麦粒数为：%d颗" % (i, total))
